package com.yu.waterstation.app.moudles.ticketgoods.service;

import com.yu.waterstation.app.moudles.ticketgoods.mapper.TicketGoodsMapper;
import com.yu.waterstation.common.entity.app.TicketGoods;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class TicketGoodsService {


    @Resource
    private TicketGoodsMapper ticketGoodsMapper;

    public List<TicketGoods> getAllTicketGoods() {
        return ticketGoodsMapper.selectList(null);
    }
}
